<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        {{name}},{{age}}<br>
        <input type="text" v-model="text">
        <p>{{text}}</p>
        <p v-html="text1"></p>
        <button v-if="isMK">🐎🌻</button>
        <button v-else="isMK">🌻🐎</button>
        <button @click="isMK = !isMK">切换状态</button>
    </div>
    <script>
        let vm =  new Vue({
            el: '#app',
            data:{
                name:'🌻nyの🐎',
                age:18,
                text:'Akerman',
                text1:'<mark>🐎🌻</mark>',
                isMK:true
            }
        })
    </script>
</body>
</html>